/**
 * FileName: UserMapper
 * Author: TangZaoBang
 * Date: 2023/05/09 10:14
 * Description:
 * <p>
 * History:
 * <author> TangZaoBang
 * <time> 2023/05/09 10:14
 * <version> 1.0.0
 * <desc> 版本描述
 */

package com.bosssoft.hr.train.j2se.mybatis.dao.mapper;

import com.bosssoft.hr.train.j2se.mybatis.entity.User;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @Class UserMapper
 * @Description
 * @Author TangZaoBang
 * @Date 2023/05/09 10:14
 * @Version
 */
@org.apache.ibatis.annotations.Mapper
public interface UserMapper extends Mapper<User> {
   /**
    * 通过Id查询User
    * @author TangZaoBang
    * @date 2023/05/09 10:26
    * @param id
    * @return mybatis.entity.User
    */
    User selectUserById(Long id);


    /**
     * 查询所有的用户测试分页插件
     * @author TangZaoBang
     * @date 2023/05/09 10:27
     * @return java.util.List<mybatis.entity.User>
     */
    List<User> selectAllUsers();
}
